// SHARED SIDE

/* Rules on Creating Teams

(Team Name)
Everything is self explanatory, so if you do not understand this you may leave a comment in the workshop ID or my steam profile.
Though if you don't understand it, you most likely should not be using a computer or playing Garrys Mod

(Color)
This is pretty easy. First number stands for RED, second is GREEN, third is BLUE, and last is for TRANSPARENTCY (My advice to you is keep this one at 255)

(Model)
This is somewhat easy, so long as you know the model name you want. I have more information on models further down this page, after the AddTeams function

(Weapon Rules)
Whatever weapon you put first will be the first weapon the player will receive. Example Below \/
Weapons = {"weapon_crowbar", "weapon_grenade"} - The weapon 'Crowbar' will be the first weapon the player receives on that team

(Ammo Rules)
You will need to find out what the ammo type for the weapon is, ammo types are located in WEAPONPACK/lua/weapons/WEAPON_NAME/shared.lua
In the shared.lua file you will need to find something called 'SWEP.Primary.Ammo', and then find the ammo type.
Once you have your ammo type, place it in the Ammo line for that team, followed by a STAR and QUOTE( *" ), then TWO PERIODS (..), and the ammo amount you want for those weapons, ending with a COMMA( , )
Example of how your ammmo line(s) should look like.
Ammo = {"pistol*"..5,"grenade*"..2} - The person will receive 5 pistol bullets, and 2 grenades.

(General Rules)
Dont add anything before AddTeams = { or after the CLOSING BRACKET }
*/

AddTeams = {
	// Red Team
	{name = "Red",
	color = "255,0,0,255",
	model = {"models/player/leet.mdl","models/player/guerilla.mdl","models/player/arctic.mdl","models/player/phoenix.mdl",},
	Weapons = {"weapon_cs_elites","weapon_cs_ak47","weapon_cs_grenade",},
	Ammo = {"pistol*"..10,"smg1*"..60,"grenade*"..1,}},
	// Grean Team
	{name = "Green",
	color = "0,255,0,255",
	model = {"models/player/alyx.mdl"},
	Weapons = {"weapon_cs_fiveseven","weapon_cs_galil","weapon_cs_grenade"},
	Ammo = {"pistol*"..10,"smg1*"..60,"grenade*"..1}},
	// Blue Team
	{name = "Blue",
	color = "0,0,255,255",
	model = {"models/player/urban.mdl","models/player/gasmask.mdl","models/player/riot.mdl","models/player/swat.mdl"},
	Weapons = {"weapon_cs_glock","weapon_cs_m4","weapon_cs_grenade"},
	Ammo = {"pistol*"..10,"smg1*"..60,"grenade*"..1}},
}


/* DEFAULT GARRY'S MOD MODELS
You may use custom ones, as long as you provide the model name of the custom models.
So you kinda need to know a little about editing gamemodes to make sure you don't break things.
Make sure you put the custom models in tdm/content/models/CUSTOM-MODEL-LOCATION
Also make sure you provide the directory for the custom models to be downloaded in the force_download.lua file. If you look in that file, it will provide more directions

// Default HL2 Main Characters
( "alyx",			"models/player/alyx.mdl" )
( "barney",			"models/player/barney.mdl" )        
( "breen",			"models/player/breen.mdl" )
( "charple",		"models/player/charple.mdl" )
( "chell",			"models/player/p2_chell.mdl" )
( "corpse",			"models/player/corpse1.mdl" )
( "combine",		"models/player/combine_soldier.mdl" )
( "combineprison",	"models/player/combine_soldier_prisonguard.mdl" )
( "combineelite",	"models/player/combine_super_soldier.mdl" )           
( "eli",			"models/player/eli.mdl" )
( "gman",			"models/player/gman_high.mdl" )        
( "kleiner",		"models/player/kleiner.mdl" )
( "monk",			"models/player/monk.mdl" )
( "mossman",		"models/player/mossman.mdl" )
( "mossmanarctic",	"models/player/mossman_arctic.mdl" )
( "odessa",			"models/player/odessa.mdl" )
( "police",			"models/player/police.mdl" )
( "policefem",		"models/player/police_fem.mdl" )
( "magnusson",		"models/player/magnusson.mdl" )
( "stripped",		"models/player/soldier_stripped.mdl" )
( "zombie",			"models/player/zombie_classic.mdl" )
( "zombiefast",		"models/player/zombie_fast.mdl" )
( "skeleton",       "models/player/skeleton.mdl" )
( "zombine",        "models/player/zombie_soldier.mdl" )

// Female Citizens
( "female01",		"models/player/Group01/female_01.mdl" )
( "female02",		"models/player/Group01/female_02.mdl" )
( "female03",		"models/player/Group01/female_03.mdl" )
( "female04",		"models/player/Group01/female_04.mdl" )
( "female05",		"models/player/Group01/female_05.mdl" )
( "female06",		"models/player/Group01/female_06.mdl" )
( "female07",		"models/player/Group03/female_01.mdl" )
( "female08",		"models/player/Group03/female_02.mdl" )
( "female09",		"models/player/Group03/female_03.mdl" )
( "female10",		"models/player/Group03/female_04.mdl" )
( "female11",		"models/player/Group03/female_05.mdl" )
( "female12",		"models/player/Group03/female_06.mdl" )

// Male Citizens
( "male01",			"models/player/Group01/male_01.mdl" )
( "male02",			"models/player/Group01/male_02.mdl" )
( "male03",			"models/player/Group01/male_03.mdl" )
( "male04",			"models/player/Group01/male_04.mdl" )
( "male05",			"models/player/Group01/male_05.mdl" )
( "male06",			"models/player/Group01/male_06.mdl" )
( "male07",			"models/player/Group01/male_07.mdl" )
( "male08",			"models/player/Group01/male_08.mdl" )
( "male09",			"models/player/Group01/male_09.mdl" )
( "male10",			"models/player/Group03/male_01.mdl" )
( "male11",			"models/player/Group03/male_02.mdl" )
( "male12",			"models/player/Group03/male_03.mdl" )
( "male13",			"models/player/Group03/male_04.mdl" )
( "male14",			"models/player/Group03/male_05.mdl" )
( "male15",			"models/player/Group03/male_06.mdl" )
( "male16",			"models/player/Group03/male_07.mdl" )
( "male17",			"models/player/Group03/male_08.mdl" )
( "male18",			"models/player/Group03/male_09.mdl" )

// Male Medics
( "medic01",		"models/player/Group03m/male_01.mdl" )
( "medic02",		"models/player/Group03m/male_02.mdl" )
( "medic03",		"models/player/Group03m/male_03.mdl" )
( "medic04",		"models/player/Group03m/male_04.mdl" )
( "medic05",		"models/player/Group03m/male_05.mdl" )
( "medic06",		"models/player/Group03m/male_06.mdl" )
( "medic07",		"models/player/Group03m/male_07.mdl" )
( "medic08",		"models/player/Group03m/male_08.mdl" )
( "medic09",		"models/player/Group03m/male_09.mdl" )
( "medic10",		"models/player/Group03m/female_01.mdl" )
( "medic11",		"models/player/Group03m/female_02.mdl" )
( "medic12",		"models/player/Group03m/female_03.mdl" )
( "medic13",		"models/player/Group03m/female_04.mdl" )
( "medic14",		"models/player/Group03m/female_05.mdl" )
( "medic15",		"models/player/Group03m/female_06.mdl" )

// Male Refugee
( "refugee01",		"models/player/Group02/male_02.mdl" )
( "refugee02",		"models/player/Group02/male_04.mdl" )
( "refugee03",		"models/player/Group02/male_06.mdl" )
( "refugee04",		"models/player/Group02/male_08.mdl" )

// CSS Hostage Models
( "hostage01",		"models/player/hostage/hostage_01.mdl" )
( "hostage02",		"models/player/hostage/hostage_02.mdl" )
( "hostage03",		"models/player/hostage/hostage_03.mdl" )
( "hostage04",		"models/player/hostage/hostage_04.mdl" )

// CSS Main Characters
( "css_arctic",		"models/player/arctic.mdl" )
( "css_gasmask",	"models/player/gasmask.mdl" )
( "css_guerilla",	"models/player/guerilla.mdl" )
( "css_leet",		"models/player/leet.mdl" )
( "css_phoenix",	"models/player/phoenix.mdl" )
( "css_riot",		"models/player/riot.mdl" )
( "css_swat",		"models/player/swat.mdl" )
( "css_urban",		"models/player/urban.mdl" )

// DOD Main Characters
( "dod_american",	"models/player/dod_american.mdl" )
( "dod_german",		"models/player/dod_german.mdl" )


*/

// Do not touch
CreateTeams()
CreateDefaultTeams()